home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 3926 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: bloom-beacon.mit.edu!ai-lab!mikc
  2. From: mikc@gnu.ai.mit.edu (Mike Coughlin)
  3. Newsgroups: comp.dcom.modems,comp.sys.sun.admin
  4. Subject: Re: xmodem on UNIX
  5. Date: 4 Feb 1996 15:41:12 GMT
  6. Organization: Free Software Foundation / Cambridge, MA  USA
  7. Message-ID: <4f2k2o$kvm@life.ai.mit.edu>
  8. References: <4eidgr$f2@dortmund.germany.eu.net>
  9. NNTP-Posting-Host: spiff.gnu.ai.mit.edu
  10.  
  11. In article <4eidgr$f2@dortmund.germany.eu.net>,
  12. Stephan Erber <stephan@isd-pm.de> wrote:
  13. >I am looking for UNIX terminalsoftware implementing X-, Y- and Z-modem
  14. >protocols and perhaps Kermit.
  15. >Did anyone around hear of something like that? Please mail.
  16.  
  17.     I use kermit on my Sun 3 all the time. It also allows me to
  18. use zmodem, but there are many problems. Zmodem sometimes works
  19. to download files, but I have to use Y-modem to upload them.
  20. Kermit works to and from various Unix systms over networks.
  21. There are at least 2 versions of zmodem for unix (rz sz) and
  22. they old one is considered better than the new. With enough
  23. hacking, you can get them to work.
  24.  
  25.    Here is something I saved from an old comp.sys.sun article that
  26. shows you what you are up against --
  27.  
  28.  
  29. >In short, how do I start up a zmodem download/upload from within
  30. >kermit or tip?
  31.  
  32. This is from ckuker.bwr, which comes with c-kermit 190:
  33.  
  34. You can also use your shell's i/o redirection facilities to assign C-Kermit's
  35. open file descriptor (ttyfd) to stdin or stdout. For example, old versions of
  36. the UNIX ZMODEM programs, sz and rz, when invoked as external protocols,
  37. expect to find the communication device assigned to stdin and stdout with no
  38. option for specifying any other file descriptor on the sz or rz command line.
  39. However, you can still invoke sz and rz as exterior protocols from C-Kermit if
  40. your current shell ($SHELL variable) is ksh (the Korn shell) or bash (the
  41. Bourne-Again shell), which allows assignment of arbitrary file descriptors to
  42. stdin and stdout:
  43.  
  44.   C-Kermit> run rz <&\v(ttyfd) >&\v(ttyfd)
  45.  
  46. or:
  47.  
  48.   C-Kermit> run sz oofa.zip <&\v(ttyfd) >&\v(ttyfd)
  49.  
  50. In version 5A(190) and later, you can use C-Kermit's REDIRECT command, if it
  51. is available in your version of C-Kermit, to accomplish the same thing without
  52. going through the shell:
  53.  
  54.   C-Kermit> redirect rz
  55.  
  56. or:
  57.  
  58.   C-Kermit> redirect sz oofa.zip
  59.  
  60. A complete set of rz,sz,rb,sb,rx,sx macros for UNIX C-Kermit is defined
  61. in the file ckurzsz.ini.  It automatically chooses the best redirection
  62. method.
  63.  
  64. -- 
  65.    Michael Coughlin      mikc@gnu.ai.mit.edu      Cambridge, MA USA
  66.